Optimal. Leaf size=37 \[ \frac{1}{10} \log \left (x^{10}+x^5+2\right )-\frac{\tan ^{-1}\left (\frac{2 x^5+1}{\sqrt{7}}\right )}{5 \sqrt{7}} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.0342108, antiderivative size = 37, normalized size of antiderivative = 1., number of steps used = 5, number of rules used = 5, integrand size = 14, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.357, Rules used = {1357, 634, 618, 204, 628} \[ \frac{1}{10} \log \left (x^{10}+x^5+2\right )-\frac{\tan ^{-1}\left (\frac{2 x^5+1}{\sqrt{7}}\right )}{5 \sqrt{7}} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 1357
Rule 634
Rule 618
Rule 204
Rule 628
Rubi steps
\begin{align*} \int \frac{x^9}{2+x^5+x^{10}} \, dx &=\frac{1}{5} \operatorname{Subst}\left (\int \frac{x}{2+x+x^2} \, dx,x,x^5\right )\\ &=-\left (\frac{1}{10} \operatorname{Subst}\left (\int \frac{1}{2+x+x^2} \, dx,x,x^5\right )\right )+\frac{1}{10} \operatorname{Subst}\left (\int \frac{1+2 x}{2+x+x^2} \, dx,x,x^5\right )\\ &=\frac{1}{10} \log \left (2+x^5+x^{10}\right )+\frac{1}{5} \operatorname{Subst}\left (\int \frac{1}{-7-x^2} \, dx,x,1+2 x^5\right )\\ &=-\frac{\tan ^{-1}\left (\frac{1+2 x^5}{\sqrt{7}}\right )}{5 \sqrt{7}}+\frac{1}{10} \log \left (2+x^5+x^{10}\right )\\ \end{align*}
Mathematica [A] time = 0.0120461, size = 37, normalized size = 1. \[ \frac{1}{10} \log \left (x^{10}+x^5+2\right )-\frac{\tan ^{-1}\left (\frac{2 x^5+1}{\sqrt{7}}\right )}{5 \sqrt{7}} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A] time = 0.002, size = 31, normalized size = 0.8 \begin{align*}{\frac{\ln \left ({x}^{10}+{x}^{5}+2 \right ) }{10}}-{\frac{\sqrt{7}}{35}\arctan \left ({\frac{ \left ( 2\,{x}^{5}+1 \right ) \sqrt{7}}{7}} \right ) } \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [A] time = 1.47833, size = 41, normalized size = 1.11 \begin{align*} -\frac{1}{35} \, \sqrt{7} \arctan \left (\frac{1}{7} \, \sqrt{7}{\left (2 \, x^{5} + 1\right )}\right ) + \frac{1}{10} \, \log \left (x^{10} + x^{5} + 2\right ) \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A] time = 1.66923, size = 100, normalized size = 2.7 \begin{align*} -\frac{1}{35} \, \sqrt{7} \arctan \left (\frac{1}{7} \, \sqrt{7}{\left (2 \, x^{5} + 1\right )}\right ) + \frac{1}{10} \, \log \left (x^{10} + x^{5} + 2\right ) \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [A] time = 0.140561, size = 37, normalized size = 1. \begin{align*} \frac{\log{\left (x^{10} + x^{5} + 2 \right )}}{10} - \frac{\sqrt{7} \operatorname{atan}{\left (\frac{2 \sqrt{7} x^{5}}{7} + \frac{\sqrt{7}}{7} \right )}}{35} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [A] time = 2.65546, size = 41, normalized size = 1.11 \begin{align*} -\frac{1}{35} \, \sqrt{7} \arctan \left (\frac{1}{7} \, \sqrt{7}{\left (2 \, x^{5} + 1\right )}\right ) + \frac{1}{10} \, \log \left (x^{10} + x^{5} + 2\right ) \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]